﻿using System;
using System.Windows.Media.Media3D;
using LFSRecord2.Model;

namespace LFSRecord2.Structures
{
    public class LfsCamera
    {
        public CameraTypes CameraType { get; private set; }

        public Point3D LookAt { get; set; }

        public double PosX { get; set; }
        public double PosY { get; set; }
        public double PosZ { get; set; }
        public double Heading { get; set; }
        public double Pitch { get; set; }
        public double Roll { get; set; }
        public double FOV { get; set; }

        public bool ShiftU { get; set; }

        public LfsCamera() : this(CameraTypes.NoCamera)
        {
        }

        public LfsCamera(CameraTypes cameraType)
        {
            CameraType = cameraType;
            LookAt = new Point3D(0, 100, 0);

            PosX = 0;
            PosY = 0;
            PosZ = 20;
            Heading = 0;
            Pitch = 0;
            Roll = 0;
            FOV = 60;

            ShiftU = true;
        }
    }
}
